package com.jy.adscm.operation.base.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zyl
 * @since 2019-01-07
 */
public class TaskManagerAnalysis implements Serializable {
    private Integer id;
    private String taskDescription;
    private Date startDate;
    private Date endDate;
    private String managerAdvice;
    private Date creatTime;
    private Date creatDate;
    private String managerName;
    private Date adviceCreattime;
    private String isNowTime;
    private String state;
    private String useTime;
    private String isRepeat;

    public String getIsRepeat() {
        return isRepeat;
    }

    public void setIsRepeat(String isRepeat) {
        this.isRepeat = isRepeat;
    }

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreatDate() {
        return creatDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getIsNowTime() {
        return isNowTime;
    }

    public void setIsNowTime(String isNowTime) {
        this.isNowTime = isNowTime;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getTaskDescription() {
        return taskDescription;
    }

    public void setTaskDescription(String taskDescription) {
        this.taskDescription = taskDescription;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStartDate() {
        return startDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getEndDate() {
        return endDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreatTime() {
        return creatTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getManagerAdvice() {
        return managerAdvice;
    }

    public void setManagerAdvice(String managerAdvice) {
        this.managerAdvice = managerAdvice;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getAdviceCreattime() {
        return adviceCreattime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setAdviceCreattime(Date adviceCreattime) {
        this.adviceCreattime = adviceCreattime;
    }

    @Override
    public String toString() {
        return "TaskManagerAnalysis{" +
                "id=" + id +
                ", taskDescription='" + taskDescription + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", creatTime=" + creatTime +
                ", managerAdvice='" + managerAdvice + '\'' +
                ", managerName='" + managerName + '\'' +
                ", adviceCreattime=" + adviceCreattime +
                ", isNowTime='" + isNowTime + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
